package cn.gson.crm.controller;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crm.model.Jdbc;
import cn.gson.crm.model.dao.AccessoryDao;
import cn.gson.crm.model.dao.RecordsDao;
import cn.gson.crm.model.entity.Accessory;
import cn.gson.crm.vo.RecordsVo;

@WebServlet("/upServlet")
public class UpServlet extends BaseServlet {
	private static final long serialVersionUID = 1L;
	private AccessoryDao accessoryDao = new AccessoryDao();
	
	protected void get(HttpServletRequest request, HttpServletResponse response) throws Exception {
//		Object accessory = request.getAttribute("accessory");
		System.out.println("accessory:"+3543654);
		//Accessory accessory = new Accessory();
		//forward("student/stu_manager.jsp");
		redirect("student");
		return;
	} 
}
